<?php use_helper("Highslide") ?>
		  	
		  	<table class="table2" align="left">
		  	<tr>
                     <?php $ch = sfContext::getInstance()->getUser()->getProfile()->getChilds();  ?>
		     <?php if($ch): ?>
		      <?php foreach($ch as $c): ?>
		      <td valign="bottom">
		      <?php // echo image_tag('/uploads/users/child/_thumbnail/'.$c->getPhotoPath())?>
		      <?php  echo highslide(sfConfig::get('app_site_url').'/uploads/users/child/thumbnail/'.$c->getPhotoPath(), '/uploads/users/child/_thumbnail/'.$c->getPhotoPath(), $options = array()) ?>
		      <br />
		      <?php echo '<b>'.$c.'</b>' ?>
		       <?php echo $c->getAge() ?> 
		       <?php echo $c->getAgeToStr($c->getAge())?>
		       <br /> 
		       <?php echo link_to(__('Удалить'),'profile/del_child?id='.$c->getId())?>
		      </td>
		      <td width="15"></td>
		      <?php endforeach ?>
		      <?php endif ?>
			</tr></table>

		<div class="clear"></div>
		
		<?php echo link_to(__('Добавить'),'profile/add_child')?>

